<?php 
header("Content-Type: text/html; charset=utf-8");
if(!isset($_SESSION)){ session_start(); } 
if (!isset ($_SESSION["id"])) {
	session_destroy();
	echo "<script language='javascript'>top.location.href = 'Login.php';</script>";
	exit;
}?>
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
$(function(){
//$("#test option[@text='Volvo']").attr("selected","true");
//alert($("#test option[@text='Volvo']").val());
alert($("#ttt").val());
$("#ttt").val("11111")
 $("#test").find("option[text='Audi']").attr("selected",true);
$('#test').change(
function(){alert(
$("#test option[selected]").val()
)}
)})
</script>
</head>
<body>
<input type="time" id='ttt' value='123' disabled="true"　readOnly="true" > 123</input>
<form>
<select name="cars" id='test'>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat" selected="selected">Fiat</option>
<option value="audi">Audi</option>
</select>
</form>
<?php 
$test=array(2=>'2222',"a1"=>123,'a'=>array(123,111));


$t1=&$test['a'];
//exit(count($t1));
$t1['a3']=12345111;

echo ($test['a']["a3"]);
?>
</body>
</html>